home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
dmedia
/
aifccompress.z
/
aifccompress
Wrap
Text File
|
1998-10-30
|
10KB
|
265 lines
aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111)))) aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111))))
NNNNAAAAMMMMEEEE
aifccompress - compress the audio data in an AIFF-C file
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
aifccompress [-v] [-c algorithm] [options] infile.aifc outfile.aifc
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_a_i_f_c_c_o_m_p_r_e_s_s is a command-line program which reads an AIFF-C digital
audio input file, and copies the header information and sample data to a
compressed AIFF-C digital audio output file.
The output file will contain copies of all the AIFF-C chunks in the
original input file. The chunks may not appear in exactly the same order
as in the original file.
_a_i_f_f_c_c_o_m_p_r_e_s_s offers compression algorithms which are supported by the
SGI audio file library. They are selected with the ----cccc option. Be sure
to audition to the results before deleting the original sound file. Note
that a signal will degrade with each compression/decompression cycle.
Sound files may have already been subjected to multiple lossy
compressions before they reach your hands. Your next compression may
degrade the signal intolerably. Keep in mind that signal processing
operations such as frequency equalization and reverberation that modify
frequency or phase characteristics may expose the previously masked
(inaudible) heavily quantized portions of the compressed signal when the
significant but mildly quantized portions of the signal are removed or
relatively attenuated.
nnnnoooonnnneeee No compression. This is the default.
gggg777722222222 CCITT G.722 ADPCM 4:1 compression recommended for 16-kHz, 16-
bit mono or stereo data. The compression algorithm currently
cannot handle more than two channels. _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_y.
uuuullllaaaawwww CCITT G.711 mu-law 2:1 compression recommended for 8-kHz, 16-
bit (mono or multichannel) data. _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_y.
aaaallllaaaawwww CCITT G.711 A-law 2:1 compression recommended for 8-kHz, 16-bit
(mono or multichannel) data. _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_y.
PPPPaaaaggggeeee 1111
aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111)))) aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111))))
aaaawwwwmmmmppppeeeegggg1111 MPEG-1 audio layer 1. Supports single or dual channel 16-bit
input at 32 kHz, 44.1 kHz, or 48 kHz. _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_y.
aaaawwwwmmmmppppeeeegggg2222 MPEG-1 audio layer 2. Supports single or dual channel 16-bit
input at 32 kHz, 44.1 kHz, or 48 kHz. _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_y.
aaaawwwwmmmmuuuullllttttiiii Aware MultiRate near-lossless compression typically yielding
compression ratios from 2:1 to 4:1. Supported for single or
dual channel, 16 bit input at 8, 11.025, 16, 22.05, 32, 44.1,
or 48 kHz. _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_y.
aaaawwwwllllssssllllssss Aware MultiRate true lossless compression typically yielding
compression ratios from 1.5:1 to 3:1. Supported for single or
dual channel, 16 bit input at 8, 11.025, 16, 22.05, 32, 44.1,
or 48 kHz. _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_l_e_s_s.
The MPEG and Aware MultiRate algorithms take the following additional
options:
----aaaawwww____cccchhhhaaaannnnppppoooollll
chooses how multiple channels should be treated:
sssstttteeeerrrreeeeoooo (default for MultiRate)
indicates that the channels are part of a single multi-
channel signal. This includes 4-channel, etc.;
jjjjooooiiiinnnntttt (default for MPEG)
indicates that the algorithm may attempt to exploit
redundancy between channels for greater coding gain; Not
valid for MultiRate.
iiiinnnnddddeeeepppp
indicates that the separate channels are unrelated and
should be processed separately, such as multilingual sound
tracks.
Note that all of these settings are equivalent for single
channel input.
----aaaawwww____ttttaaaarrrrgggg
specifies the desired bitrate for all channels of compressed
data, in bits per second. The following is a list of valid
bitrates for MPEG.
Layer 1:
32000, 64000, 96000, 128000, 160000, 192000, 224000,
256000, 288000, 320000, 352000, 384000, 416000, and
PPPPaaaaggggeeee 2222
aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111)))) aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111))))
448000.
Layer 2:
32000, 48000, 56000, 64000, 80000, 96000, 112000, 128000,
160000, 192000, 224000, 256000, 320000, and 384000.
Default value is 192 kbps / channel for layer 1 and 128 kbps /
channel for layer 2. This parameter is not used for Aware's
MultiRate algorithm.
----aaaawwww____bbbbiiiittttppppoooollll
Provides for different modes of bit assignment: The valid
values depend on the algorithm, as indicated below.
MPEG:
ffffiiiixxxxeeeedddd (default)
Fixed bitrate per second.
The Compression ratio is determined by value of
----aaaawwww____ttttaaaarrrrgggg.
ccccoooonnnnssssttttqqqquuuuaaaallll
Bitrate is driven by the psychoacoustic model.
Enough bits are assigned so that a constant Mask to
Noise ratio is attained. See ----aaaawwww____nnnnmmmmrrrr.
Aware MultiRate:
ccccoooonnnnssssttttqqqquuuuaaaallll
Enough bits are assigned so that the signal is 90+ dB
above the quantization noise.
Compression ratios are typically between 2.5:1 and
4:1.
lllloooosssssssslllleeeessssssss
Enough bits are assigned to provide for perfect
reconstruction.
Compression ratios are typically between 2:1 and 3:1.
----aaaawwww____nnnnmmmmrrrr
Not used in the Aware MultiRrate algorithm. For MPEG with ----
aaaawwww____bbbbiiiittttppppoooollll ccccoooonnnnssssttttqqqquuuuaaaallll sets the constant quality mode noise-to-
mask ratio in dB. Zero yields a theoretic psychoacoustic
imperceptible compression. Positive values provide more
compression and noise becomes audible. Negative values cause
less compression and less perceptible noise.
with no errors, _a_i_f_c_c_o_m_p_r_e_s_s returns 0. If there is an error,
_a_i_f_c_c_o_m_p_r_e_s_s returns 1.
PPPPaaaaggggeeee 3333
aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111)))) aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111))))
If invoked with no arguments, _a_i_f_c_c_o_m_p_r_e_s_s displays help.
If the ----vvvv verbose option is specified, _a_i_f_c_c_o_m_p_r_e_s_s periodically prints
messages as sample data is copied from the input file to the output file.
The AIFF and AIFF-C file format specifications are published by Apple
Computer Inc.
AAAAUUUUTTTTHHHHOOOORRRR
Silicon Graphics Inc.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
playaifc(1), recordaifc(1),
aiff2aifc(1), aifcdecompress(1), aifcresample(1),
dmconvert(1), mediaconvert(1),
MPEG(4), Aware(5)
AIFF-C File Format Specification
AFintro(3A), Introduction to the Audio File Library
PPPPaaaaggggeeee 4444